<%@ Import Namespace="NCS.Module.CMS.Library.Definitions" %>
<%@ Import Namespace="NCS.Library.Utilities" %>
<%@ Control Language="C#" AutoEventWireup="true" Codebehind="ContentList.ascx.cs"
    Inherits="NCS.Module.CMS.Web.Sport.ContentList" %>
<%@ Register Assembly="NCS.Library" Namespace="NCS.Library.Controls"
    TagPrefix="cc2" %>
<%@ Register Assembly="System.Web.Extensions" Namespace="System.Web.UI" TagPrefix="asp" %>
<asp:Panel ID="pnlContentList" runat="server" Width="100%">
    <div id="latest" class="parent chrome5 hexa7 latest bindfalse">
        <h2>
            <asp:Label ID="lblZoneName" runat="server">Tin m&#7899;i nh&#7853;n</asp:Label></h2>
        <div class="lngroup">
            <asp:Repeater ID="rptContentList" runat="server">
                <ItemTemplate>
                    <div class="lnitem">
                        <div class="link">
                            <a href='<%# BuildUrlByDistId((int)Eval("Distribution_ID"), (int)curZone.Zone_ID) %>'>
                                <b>
                                    <%# Eval("Content_Headline") %>
                                </b></a>
                        </div>
                        <div class="abs">
                            <span>
                                <asp:Label ID="lbalias" runat="server"></asp:Label>
                            </span>
                        </div>
                        <div class="linkedimgabs1 cf" xmlns:xhtml="http://www.w3.org/1999/xhtml">
                            <a href="#d">
                                <asp:Image ID="imgAvatar" BorderWidth="1" BorderStyle="Solid" BorderColor="#07519A"
                    runat="server" Height="75" Width="75" ImageAlign="left" ImageUrl='<%# NCS.Library.Utilities.ConvertUtility.ToString(Eval("Content_Avatar")) !=string.Empty ? NCS.Library.Utilities.MultimediaUtility.GetListAvatar(Eval("Content_Avatar").ToString()):"" %>' />
                              </a>
                            <%# ConvertUtility.ToStringWithoutFontBold(Eval("Content_Teaser"), Constants.LengthLeftTeaser)%>
                        </div>
                    </div>
                </ItemTemplate>
            </asp:Repeater>
            <asp:TextBox ID="txtHiddenValue" runat="server" Visible="False" Width="1px"></asp:TextBox></div>
    </div>
    <div class="pagingzoot">
        <% =lblPage%>
    </div>
</asp:Panel>
<asp:Panel ID="pnlSpecialContent" runat="server" Visible="false">
    <div id="story" class="parent chrome5 single1">
        <div class="child c1 first">
            <div class="article" xmlns:xhtml="http://www.w3.org/1999/xhtml">
                <div class="attr">
                </div>
                <div>
                    <h1 class="title">
                        <asp:Label ID="lblSpecialHeadline" runat="server"></asp:Label></h1>
                </div>
                <div class="gchild chrome1 left">
                    <div class="ggchild c1 first">
                        <div class="img" id="divSpecialAvatar" runat="server">
                            <asp:Image ID="imgSpecialAvatar" runat="server" Width="173" ImageAlign="left" />
                            <div class="attr">
                                Chu thich anh</div>
                        </div>
                    </div>
                    <div class="ggchild c2 relatedlinks">
                    </div>
                </div>
                <div class="segment">
                    <div class="detail">
                        <div class="gchild chrome1 left">
                            <div class="ggchild c1 first">
                            </div>
                        </div>
                        <span class="detail">
                            <asp:Literal ID="litSpecialTeaser" runat="server"></asp:Literal><br />
                            <asp:Literal ID="litSpecialContentBody" runat="server"></asp:Literal>
                        </span>
                    </div>
                </div>
            </div>
        </div>
    </div>
</asp:Panel>
